

        <g:set var="entityName" value="${message(code: 'leaveWord.label', default: 'LeaveWord')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveWordInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.personname.label" default="Personname" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveWordInstance, field: "personname")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.contact.label" default="Contact" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveWordInstance, field: "contact")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.content.label" default="Content" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: leaveWordInstance, field: "content")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.student.label" default="Student" /></td>
                            
                            <td valign="top" class="value"><g:link controller="student" action="show" id="${leaveWordInstance?.student?.id}">${leaveWordInstance?.student?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.teacher.label" default="Teacher" /></td>
                            
                            <td valign="top" class="value"><g:link controller="teacher" action="show" id="${leaveWordInstance?.teacher?.id}">${leaveWordInstance?.teacher?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="leaveWord.createTime.label" default="Create Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${leaveWordInstance?.createTime}" /></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${leaveWordInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
